/*
 * Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
 * Click nbfs://nbhost/SystemFileSystem/Templates/Classes/Class.java to edit this template
 */
package com.yxw.yxnet_cd_center.gateway.controller;

import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiResponse;
import io.swagger.annotations.ApiResponses;
//import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

//@Slf4j
@Api(value = "gateway正常启动测试", tags = {"gateway正常启动测试"})
@RestController
@RequestMapping("/systest")
public class TestController {
    /*** 
     * 测试
     * @return BaseResult
     **/
    @ApiOperation(value = "gateway正常启动测试 ", notes = "gateway正常启动测试")
    @ApiResponses({@ApiResponse(code = 200, message = "OK", response = BaseResult.class),})
    @GetMapping("/test")
    public BaseResult test() {
        return BaseResult.success("com.yxw.customer_service_center.gateway is success");
    }
}
